package com.yangfan.thread.thread_wangwenjun08;

/**
 * 异步调用回调的结果类似于消费者拿到的票据凭证类似于，
 * 蛋糕店购买蛋糕的的小票用来获取蛋糕
 * @param <T>
 */
public interface Future<T> {

    T get() throws InterruptedException;

}